package com.css.project.oa.cash.mapper;

import com.css.project.oa.cash.domain.ProCashItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProCashItemMapper {

    public int removeItemByCash(Long proCashId);

    public int insertProCashItem(ProCashItem proCashItem);

    /**
     * 报销明细
     * @param cashId
     * @return
     */
    public List<ProCashItem> getProCashItemList(@Param(value = "cashId")Long cashId);

    /**
     * 现金报销列表
     * @param cashId
     * @return
     */
    public List<ProCashItem> getProCashItemMainList(@Param(value = "cashId")Long cashId);


    public List<ProCashItem> getItemByCash(Long proCashId);
    
    /**
     * 
    * @Title: updateProCashItemForDinner 
    * @Description: 更新餐费明细
    * @param @param proCashItem
    * @param @return    设定文件 
    * @author ShiChao 
    * @return int    返回类型 
    * @throws
     */
    public int updateProCashItemForDinner(ProCashItem proCashItem);
}
